package com.ict.web.controller.file.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 文件对象 park_file
 * 
 * @author xc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class YzqFile implements Serializable
{
    private static final long serialVersionUID = 1L;

    public static final String FILE_SCRIPT = "0";
    public static final String FILE_APPLY = "1";
    public static final String FILE_CUST = "2";
    public static final String FILE_BUS = "3";
    public static final String FILE_CONTRACT_MESSAGE = "4";

    /** 文件id */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;


    /** 文件名称 */
    @ApiModelProperty(value = "文件名称")
    private String fileName;

    /** 文件地址 */
    @ApiModelProperty(value = "文件地址")
    private String fileUrl;

    /** 文件后缀 */
    @ApiModelProperty(value = "文件后缀")
    private String fileSuffix;

    /** 文件大小 */
    @ApiModelProperty(value = "文件大小")
    private String fileSize;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 关联资源id*/
    private String relationId;
}
